package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Answer;
import cn.wolfcode.trip.base.domain.AskQuestions;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IAskQuestionsService {

    PageInfo<AskQuestions> query(QueryObject qo);

    void save(AskQuestions askQuestions);

    void saveAnswer(Answer answer);

    AskQuestions get(Long quesId);

    List<Answer> listAnswer(Long quesId);
}
